/*
 * Copyright (c) 2010 the original author or authors
 *
 * Permission is hereby granted to use, modify, and distribute this file
 * in accordance with the terms of the license agreement accompanying it.
 */

package org.swiftsuspenders.injectionresults {
	import org.swiftsuspenders.InjectionConfig;
	import org.swiftsuspenders.Injector;

	public class InjectOtherRuleResult extends InjectionResult {
		/*******************************************************************************************
		 *								private properties										   *
		 *******************************************************************************************/
		private var m_rule:InjectionConfig;


		/*******************************************************************************************
		 *								public methods											   *
		 *******************************************************************************************/
		public function InjectOtherRuleResult(rule:InjectionConfig) {
			m_rule=rule;
		}

		override public function getResponse(injector:Injector):Object {
			return m_rule.getResponse(injector);
		}
	}
}
